<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>发布内容</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet"
          href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <link rel="stylesheet"
          href="//g.alicdn.com/msui/sm/0.6.2/css/sm-extend.min.css">
    <link rel="stylesheet" href="../resources/css/topic/topicmanage.css">
</head>
<body>
<header class="bar bar-nav">
    <h1 class="title">发布内容</h1>
</header>
<div class="content">
    <div class="list-block">
        <ul>
            <li>
                <div class="item-content">
                    <div class="content-padded docs-icons">
                        <span class="icon icon-message"></span>
                    </div>
                    <div class="item-inner">
                        <div class="item-title label">选择话题</div>
                        <div class="item-input">
                            <select id="topic_category">

                            </select>
                        </div>
                    </div>
                </div>
            </li>
            <li>
                <div class="item-content">
                    <div class="content-padded docs-icons">
                        <span class="icon icon-menu"></span>
                    </div>
                    <div class="item-inner">
                        <div class="item-title label">发布类型</div>
                        <div class="item-input">
                            <select id="type">
                                <option data-id="1">图片</option>
                                <option data-id="2">视频</option>
                            </select>
                        </div>
                    </div>
                </div>
            </li>
            <li>
                <div class="item-content">
                    <div class="content-padded docs-icons">
                        <span class="icon icon-edit"></span>
                    </div>
                    <div class="item-inner">
                        <div class="item-title label">标题</div>
                        <div class="item-input">
                            <input type="text" id="topic-name" placeholder="取一个友善的标题吧">
                        </div>
                    </div>
                </div>
            </li>
            <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-email"></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-input" style="height: 325px">
                            <textarea style="height: 325px" id="topic-desc" placeholder="正文内容"></textarea>
                        </div>
                    </div>
                </div>
            </li>


            <li id="image">
                <div class="item-content">
                    <div class="content-padded docs-icons">
                        <span class="icon icon-picture"></span>
                    </div>
                    <div class="item-inner detail-img-div">
                        <div class="item-title label">详情图片</div>
                        <div class="item-input" id="detail-img">
                            <input type="file" class="detail-img">
                            <!--<input type="file" class="detail-img" id="detail-img-1">-->
                            <!--<input type="file" class="detail-img" id="detail-img-2">-->
                        </div>
                    </div>
                </div>
            </li>

            <li id="video" style="display: none">
                <div class="item-content">
                    <div class="content-padded docs-icons">
                        <span class="icon icon-computer"></span>
                    </div>
                    <div class="item-inner detail-img-div">
                        <div class="item-title label">视频</div>
                        <div class="item-input">
                            <input type="file" class="detail-img" id="videoFile">
                            <!--<input type="file" class="detail-img" id="detail-img-1">-->
                            <!--<input type="file" class="detail-img" id="detail-img-2">-->
                        </div>
                    </div>
                </div>
            </li>

        </ul>
    </div>
    <div class="content-block">
        <div class="row">
            <div class="col-50">
                <a href="/index"
                   class="button button-big button-fill button-danger" id="back">返回</a>
            </div>
            <div class="col-50">
                <a href="#" class="button button-big button-fill" id="submit">发布</a>
            </div>
        </div>
    </div>
</div>



<script type='text/javascript'
        src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
<script type='text/javascript'
        src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
<script type='text/javascript'
        src='//g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js' charset='utf-8'></script>
<script type='text/javascript'
        src='../resources/js/common/commonutil.js' charset='utf-8'></script>
<script type='text/javascript'
        src='../resources/js/topic/topicedit.js' charset='utf-8'></script>
</body>
</html>

